package com.hua.nailcampus.constant;

/**
 * Redis常量配置类
 * set name admin
 * @author chenjianhua
 */
public class RedisConst {

    //用户信息
    public static final String USER_KEY_LOGIN = "user:login:";
    //单位：秒
    public static final int USER_KEY_TIMEOUT = 24*60;
    //token
    public static final String USER_TOKEN = "token:";
//    token过期时间
    public static final Integer TOKEN_TIMEOUT = 24*60;

//    用户动态列表
    public static final String DYNAMIC_LISTK = "dynamic:list:";
//    动态列表过期时间
    public static final Integer DYNAMIC_LIST_TIMEOUT = 10;

//    省份列表
    public static final String PROVINCE_LISTK = "province:list:";

    public static final Integer PROVINCE_LIST_TIMEOUT = 24*60;

    public static final String SCHOOL_KEY = "school:";
    public static final Integer SCHOOL_TIMEOUT = 24*60;

    public static final String PROVINCES_KEY = "provinces:";

    public static final Integer PROVINCES_TIMEOUT = 24*60;



}
